dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: pdk5

Page 1 of 9 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    293

    Re: [RESOLVED] Issue with the Dll

    Thanks a lot Arjay, will try this
  2. Replies
    5
    Views
    293

    Re: Issue with the Dll

    Thanks a lot kaud. I was adding the .dll under Project->Configuration Properties->Linker->Input->Additional Dependencies.
    Now changed to .lib and everything works like magic. My big big headache is...
  3. Replies
    5
    Views
    293

    [RESOLVED] Issue with the Dll

    Hi ,
    I have created the Dll for my functionality.

    Now the client given me the test harness and i added my dll into that . But there is no luck, it says that the
    fatal error LNK1107: invalid or...
  4. Replies
    12
    Views
    550

    Re: Reading a rectangle within a square

    I have tested partially my previous code (reverse of square). My second requirement was to constrain the output to a rectangle from this square. I am given the size of rectangle in terms of pixels in...
  5. Replies
    12
    Views
    550

    Re: Reading a rectangle within a square

    The code where i had to return the full square in reverse order is as follows, The above code is changed to only contain portion of the square:


    void ModelUseExample::PerformPrediction(ULONG...
  6. Replies
    12
    Views
    550

    Re: Reading a rectangle within a square

    Thanks a lot kaud. The function i gave is not the actual function in the code. It is legacy code with lot of dependencis. I was just trying to add my pseudocode. Actualy i had to move out this part...
  7. Replies
    12
    Views
    550

    Re: Reading a rectangle within a square

    Any comments on self talk is helpful :)

    I wrote the code yesterday for filling the yellow rectangle. Any comments on that will be very helpful.

    Im new to this area and i was initially told to...
  8. Replies
    12
    Views
    550

    Re: Reading a rectangle within a square

    void function(ULONG nRendResolution_cm, bool bLimitIteratorRegion, velox::propagation_api::CalculationOutput& out)
    {
    // Calculate the Ymax_cm and Ymin_cm for the Output raster
    int Ymax_cm =...
  9. Replies
    12
    Views
    550

    Re: Reading a rectangle within a square

    And I get the output rectangle top left corner co-ordinates and also the no of pixels on x and y axis
  10. Replies
    12
    Views
    550

    Reading a rectangle within a square

    I have a square and our API returrns values from the top left to right.

    Now along with those, I get the X, and Y values of those pixes. Lets say each Pixel is 10cm, I get the centre point of the...
  11. Replies
    15
    Views
    748

    Re: Reversing an array

    Now i copy the reverted rectangle to the clients output, and there is another exception. at last line.

    // copy the results in the correct format to the pdesign output Rectangle...
  12. Replies
    15
    Views
    748

    Re: Reversing an array

    Ah I remember, it was because inindex is ULONG. I changed it in my local setup at that time. (it needs to be signed)
    Btw, what is the signed long int equivalent of ULONG ?
  13. Replies
    15
    Views
    748

    Re: Reversing an array

    I retained the following code, as its using the pure malloc. And also i needed to deliver that week itself. So didnot have time to do the changes.

    But now coming back while testing with the...
  14. Replies
    5
    Views
    253

    Re: Convert string to BSTR

    Thanks I tried to convert the string into wstring. Then copied that back to parameter to be passed back to interface. This now worked.
    May be I;ll try your suggestion also ..Thankyou again for...
  15. Replies
    5
    Views
    253

    Re: Convert string to BSTR

    can some windows experts help me with this please.
  16. Replies
    5
    Views
    253

    Re: Convert string to BSTR

    Thanks a lot Victor, but this is client interface and I cannot change
  17. Replies
    5
    Views
    253

    Convert string to BSTR

    I have a function


    func(BSTR * path)
    {

    // From path paramter I use the path.

    //Now I generate some lets say list of names separated by newline
  18. Thread: Urgent: XML path

    by pdk5
    Replies
    10
    Views
    310

    Re: Urgent: XML path

    "wstring pathofXmls = "F:\\Temp\\New\\x64\\Debug"" is working !!!.

    Not sure yesterday somehow i culdnot get it working (ofcourse i was doing many things). Very sorry
  19. Thread: Urgent: XML path

    by pdk5
    Replies
    10
    Views
    310

    Re: Urgent: XML path

    SORRY GUYS. Now figured out the issue.
    Sorry was doing too many things at same time.

    Thanks a lot for this forum, forgiving me for asking these Qs.

    And again this is friendliest and great...
  20. Thread: Urgent: XML path

    by pdk5
    Replies
    10
    Views
    310

    Re: Urgent: XML path

    To make it simple (sorry i was writting in sleep yesterday)
    From :
    wstring pathofXmls = "F:\\Temp\\New\\x64\\Debug"
    wstring nameofxml = "Bob.xml"

    I want to get : wstring fullpath =...
  21. Thread: Urgent: XML path

    by pdk5
    Replies
    10
    Views
    310

    Re: Urgent: XML path

    Thanks Arjay,

    I tried giving the path directly:
    pXMLDom->load(L"F:\\Temp\\New\\x64\\Debug\/xmlinputfile.xml");

    And it works.

    My issues is , i get the
    BSTR * pathofXmls
    and its coming...
  22. Thread: Urgent: XML path

    by pdk5
    Replies
    10
    Views
    310

    Re: Urgent: XML path

    Just to update: I tried directly giving the path:
    pXMLDom->load(L"F:\\Temp\\New\\x64\\Debug\/xmlinputfile.xml");

    And it works.

    Now i was trying to deduce this from the input path:

    ...
  23. Thread: Urgent: XML path

    by pdk5
    Replies
    10
    Views
    310

    Urgent: XML path

    Hi,

    I had asked a Q about loading the xml from a path. But then, I thought this wil work implicitly. But now im testing my code with the client and ah ! no its not working.



    function( BSTR *...
  24. Thread: delay in dll

    by pdk5
    Replies
    10
    Views
    480

    Re: delay in dll

    Yes, my collegue came from multithreaded background and was confused about this.

    Eventhough i havent worked on multithreading much, but i knew, in case of single thread this wont be issue. But...
  25. Thread: delay in dll

    by pdk5
    Replies
    10
    Views
    480

    Re: delay in dll

    because it is taking long to complete as it is just a function call and there is no way of knowing if o/p is written or not
Results 1 to 25 of 214
Page 1 of 9 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)