Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~932 People Reached
Favorite Forums
Favorite Tags
Member Avatar for jnewing

Hey all, so I'm looking for a way to call a method in an application externally from a dll. (see example below) This is what I'm trying however it's a) not working and b) if it was working i have a feeling that calling DynamicInvoke is going to be painfully …

Member Avatar for Ketsuekiame
0
185
Member Avatar for jnewing

Ok so I'm looking for a quick efficient way of reading the following binary data into memory. I'm currently reading it all and then have my own functions that break it up via the separators 0x7d (|) and read each on into a variable, however I was thinking about reading …

Member Avatar for jshoot
0
110
Member Avatar for jnewing

Here is Libaray 1 that I would like in the namespace "MyLib" [code] /** * lib1.h */ #ifndef LIB1_H #define LIB1_H #include <iostream> #include <fstream> #include <vector> namespace MyLib { class Lib1; } class Lib1 { public: Lib1(); ~Lib1(); int some_lib1_function(int foo); private: MyLib::Lib1 *lib1; }; #endif /** * lib1.cpp …

Member Avatar for mike_2000_17
0
92
Member Avatar for jnewing

[CODE] // foo vector of unsigned chars // contains 0x00, 0x00, 0xb8, 0x01, 0x00, 0x00, 0x00, 0x1F, 0xEC 0x82 std::vector< unsigned char > foo; long some_long = (long)&foo[6]; // i want the unsigned chars 0x00, 0x1F, 0xEC 0x82 to // make up the long decimal value of 2092162 [/CODE] Now …

Member Avatar for Insensus
0
207
Member Avatar for jnewing

so what i'm trying to get my head around it say i have a vector of vectors containing some unsigned chars and i want to copy a certain vector to another vector as follows. [CODE] std::vector< std::vector< unsigned char > > foo; std::vector < unsigned char > bar; for (int …

Member Avatar for L7Sqr
0
170
Member Avatar for jnewing

Hey all sorry I'm new to c++ and just trying to get my head around vectors of objects etc.. so here is what I'm playing with [CODE] #include <iostream> #include <string> #include <vector> using namespace std; class foo { public: std::string blah; std::string blah1; foo() { } foo(std::string b, std::string …

Member Avatar for Ancient Dragon
0
168