|
 |
|
|
|
|
|
GTA Modification Forums
[GTAIV|REL|SRC] C++ Script Hook IV Scripting via C++
 |
|
 |
| |
HazardX  |
Posted: Wednesday, Jan 7 2009, 10:51
|
pedestrian mangler

Group: Members
Joined: Dec 13, 2008


|
| QUOTE (aru @ Jan 7 2009, 10:33) | | And yes, this is fully unmanaged C++. I *think* it should still load up with IV if compiled with /clr, as long as you keep the CustomThread, NativeThread, NativeContext, etc classes as unmanaged since they are subclasses of game types. | Yes, i tried that. It crashed.  I was suprised too. I converted other unmanaged projects to mixedmode/managed projects before, but yet i'm still VERY unexperienced in C++ and such a hook is a more special case too. I maybe did something wrong... i just added the /clr parameter and added "#pragma unmanaged" directives to all files, to be sure that no unwanted stuff is compiled as managed.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Pages:
(86) 1 2 [3] 4 5 ... Last »
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|
|
|
|